{gb var="gb_list" page="true" limit="'.$GLOBALS['config']['user']['sys']['user_gbnum'].'" order="gb_addtime desc"}{/gb}
<!--左侧盒子开始-->
<div class="col-md-9 col-sm-12 box-main-content">
  <div class="layout-box clearfix">
    <div class="box-title bt">
      <h3 class="m-0"><i class="icon iconfont">&#xe635;</i>留言板</h3>
      <div class="more pull-right">共有<span class="text-color">“{$gb_list->total()}”</span>条留言</div>
    </div>
    <div class="comment-focus" id="content">
      <ul class="ui-comment">
        {volist name="gb_list" id="zanpian"}
        {php}$lou=$gb_list->total()-(($param['p']-1) * $GLOBALS['config']['user']['sys']['user_gbnum'] + $key);{/php}
        <li class="comment-item fn-clear">
          <div class="comment-num hidden-xs"><em class="text-color">{$lou}</em><span class="text-muted">条留言<span></span></span></div>
          <div class="comment-post">
            <div class="comment-post-cnt">
              <div class="comment-body">
                <div class="comment-top"><span class="user">{empty name="zanpian.user_id"}游客 {$zanpian.gb_nickname}{else/}<a href="{:zanpian_user_url('user/home/index',$zanpian)}">{$zanpian.user_nickname}</a>{/empty}</span><span class="time">{$zanpian.gb_addtime|time_format='Y-m-d H:i:s',1}</span></div>
                <div class="comment-text">{$zanpian.gb_content|htmlspecialchars}</div>
              </div>
              {notempty name="zanpian.gb_intro"}
              <div class="comment-sub">
                <div class="comment-top text-success">管理员回复:</div>
                <div class="comment-text">{$zanpian.gb_intro}</div>
              </div>
              {/notempty} </div>
          </div>
        </li>
        {/volist}
      </ul>
    </div>
    {notempty name="gb_list"}
    <div class="box-page clearfix ajax-page" id="long-page">
      <ul>
        {$gb_list->render()}
      </ul>
    </div>
    {/notempty} </div>
</div>